package com.ksd.modules.download.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@ApiModel(value = "AdminDownloadsCategoryVo", description = "分类")
public class AdminDownloadsCategoryVo implements java.io.Serializable {
    @ApiModelProperty("主键ID")
    private Long id;
    @ApiModelProperty("分类标题")
    private String title;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("父类ID")
    private Long parentId;
    @ApiModelProperty("排序")
    private Integer sorted;
    @ApiModelProperty("发布状态 1发布 0未发布")
    private Integer status;
    @ApiModelProperty("是否删除 1删除 0 未删除")
    private Integer isDeleted;
    @ApiModelProperty("系统编号")
    private Long systemId;
    @ApiModelProperty("系统名称")
    private String systemName;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty("资源数量")
    private Integer postCount;
    @ApiModelProperty("子板块")
    private List<AdminDownloadsCategoryVo> children;
}
